﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Source.Common;
using Source.Web.FrameWork;

namespace Source.Web.Project
{
    
    public interface ProjectFees
    {
        decimal GetFeaturedProjectForPost();
        decimal GetHidProjectFromSearchEngineForPost();
        decimal GetFullTimeProjectForPost();
        decimal GetHideProjectForLoginUserOnlyProjectForPost();

    }

    public class GoldMembers:ProjectFees
    {
        public decimal GetFeaturedProjectForPost()
        {
            throw new NotImplementedException();
        }

        public decimal GetHidProjectFromSearchEngineForPost()
        {
            throw new NotImplementedException();
        }

        public decimal GetFullTimeProjectForPost()
        {
            throw new NotImplementedException();
        }

        public decimal GetHideProjectForLoginUserOnlyProjectForPost()
        {
            throw new NotImplementedException();
        }
    }

    public class NormalWorks:ProjectFees
    {
        public decimal GetFeaturedProjectForPost()
        {
            throw new NotImplementedException();
        }

        public decimal GetHidProjectFromSearchEngineForPost()
        {
            throw new NotImplementedException();
        }

        public decimal GetFullTimeProjectForPost()
        {
            throw new NotImplementedException();
        }

        public decimal GetHideProjectForLoginUserOnlyProjectForPost()
        {
            throw new NotImplementedException();
        }
    }
    public class ProjectController : Controller<IProjectView>
    {
        public ProjectController(IProjectView view) : base(view) { }

        public void Load()
        {
            if (!View.IsPostBack)
            {
             
            }
        }


        public void Approve()
        {
            var response = Dispatcher.Get<HelloWorldResponse>(new HelloWorldRequest());
            if (response.Message != null)
            {
                View.A1LevelTitle = response.Message;
                View.ShowProjects(response.dto);
                View.DataBind();
            }
            
        }

    }
}
